	  Trunk!!!
    
    <form action='<?php echo $_SERVER["PHP_SELF"]?>' method='post'>
			<p>
				<label>Name: </label>
				<input type='text' name='name'/>
			</p>
			<p>
				<label>Username: </label>
				<input type='text' name='username'/>
			</p>
			<p>
				<label>Password: </label>
				<input type='password' name='password'/>
			</p>
			<p>
				<label>Repeat Password: </label>
				<input type='password' name='re-password'/>
			</p>
			<p>
				<label>E-mail: </label>
				<input type='text' name='email'/>
			</p>
			<p>
				<input type='submit' name='submit' value='Register!' />
			</p>	
		</form>
		
		<?php 
			function __autoload($class_name){
				require_once "classes/".$class_name.".php";
			}
			if(isset($_POST["submit"])){
				$conect=new DBconect();
				$curentdate=getdate('UTC');
						
				$user= new Users($_POST['username'],$_POST['password'],$curentdate);
				//$profile= new Profiles($_POST['name'],$_POST['email'],$_POST['gender']);
				
				$conect->addUser($user);
				//$conect->addProfile($profile,$user);
			}
		?>
